package com.rzjm.exercise.module.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rzjm.exercise.common.utils.ExcelColumn;
import com.rzjm.exercise.sys.core.file.domain.FileDO;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "ck_points")
public class Points implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer companyId;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ExcelColumn(value = "隐患工段", col = 1)
    private String pointsName;
    private Integer checkCount;
    private String checkCountUnit;
    private Integer state;
    private String qrcodeImg;
    private Integer specs;
    private Integer lastRepairRecordId;
    private Date lastRepairReportTime;
    private Integer isShowCheckPoint;
    @ExcelColumn(value = "隐患点", col = 2)
    private String checkPoints;
    @ExcelColumn(value = "巡检周期", col = 3)
    @TableField(exist = false)
    private String checkUnit;

}